﻿  //////////////////////////////
 /// Npc Script Set by Chii ///
//////////////////////////////

using System;
using System.Collections.Generic;

using SagaMap;
using SagaDB.Actors;
using SagaDB.Items;

public class ErskineLyndon : Npc
{
    public override void OnInit()
    {
        MapName = "Hod_f01";
        Type = 1272;
        Name = "Erskine Lyndon";
        StartX = -11570.44F;
        StartY = -1312.455F;
        StartZ = -9316F;
        Startyaw = 47008;
        SetScript(5349);
        AddButton(Functions.WarperConversation, new func(OnButton));
        AddButton(Functions.WarperConversation2, new func(OnButton2));
    }
    public void OnButton(ActorPC pc)
    {
        TakeZeny(pc, 100);
        Warp(pc, 1, 3350f, 5336f, -9854f);
    }
    public void OnButton2(ActorPC pc)
    {
        TakeZeny(pc, 100);
        Warp(pc, 2, -1759f, -15113f, 298f);
    }
}